package com.tbl.modules.wms2.dao.production;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.baomidou.mybatisplus.plugins.pagination.Pagination;
import com.tbl.modules.wms2.entity.production.VWmsShopItemReqEntity;
import com.tbl.modules.wms2.entity.production.YclMaterialOutEntity;
import com.tbl.modules.wms2.entity.purchasein.PurchaseOrderEntity;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * 采购订单
 * @author 70486
 */
public interface YclMeterialOutDAO extends BaseMapper<YclMaterialOutEntity> {

	/**
	 * 查询采购订单数据列表
	 * @param page
	 * @param map
	 * @return List<PurchaseOrderEntity>
	 */
	List<YclMaterialOutEntity> getPageList(Pagination page, Map<String, Object> map);

	/**
	 * 获得自增id
	 * @return Long
	 */
	Long getSequence();

	Map<String,Object> yclOrderOut(Map<String,Object> map);

}
